package al.softsynergy.auk.ui.ankesa;

import com.vaadin.event.ItemClickEvent.ItemClickListener;
import com.vaadin.ui.Tree;

public class AnkesaNavigationTree  extends Tree{

	public static final Object LIST = "Listo ankesat";
	public static final Object ADD = "Shto ankese";
	public static final Object SEARCH = "Kerko";
	
	public AnkesaNavigationTree(AnkesaUI ankesaUI) {
		super();
		addItem(LIST);
		addItem(ADD);
		addItem(SEARCH);
		
		
		//setChildrenAllowed(SHOW_ALL, false);
		//setChildrenAllowed(ADD, false);
		//setChildrenAllowed(SEARCH, false);
		
		setSelectable(true);
		setNullSelectionAllowed(false);
		this.addListener((ItemClickListener)ankesaUI);
		
	}

	
	
	
}
